projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5476026
)
Fix the xft build
author
Po Lu
<luangruo@yahoo.com>
Sun, 16 Jan 2022 11:45:54 +0000
(19:45 +0800)
committer
Po Lu
<luangruo@yahoo.com>
Sun, 16 Jan 2022 11:45:54 +0000
(19:45 +0800)
* src/xsettings.h [!HAVE_PGTK]: Include dispextern.h and remove
duplicate definition of Display_Info.
src/xsettings.h
patch
|
blob
|
history
diff --git
a/src/xsettings.h
b/src/xsettings.h
index 266526df101e5291d5b501d452886555c0f6f07f..ccaa36489d0d603fc8326b287d50620fac82de8e 100644
(file)
--- a/
src/xsettings.h
+++ b/
src/xsettings.h
@@
-21,15
+21,14
@@
along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
#define XSETTINGS_H
#ifndef HAVE_PGTK
+#include "dispextern.h"
#include <X11/Xlib.h>
#endif
struct x_display_info;
struct pgtk_display_info;
-#ifndef HAVE_PGTK
-typedef struct x_display_info Display_Info;
-#else
+#ifdef HAVE_PGTK
typedef struct pgtk_display_info Display_Info;
#endif